package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicRole;
import com.wl.dzt.basic.entity.BasicModel;

import java.io.Serializable;

@ApiModel("BasicRoleModel")
@Table("basic_role_model")
public class BasicRoleModel implements Serializable {

    @ApiModelProperty(value = "角色编号", name = "roleId")
    @Column(value = "role_id", text = "角色编号", maxLength = 32)
    private BasicRole roleId;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "模块编号", name = "modelId")
    @Column(value = "model_id", text = "模块编号", maxLength = 32)
    private BasicModel modelId;

    public BasicRole getRoleId() {
        return roleId;
    }

    public void setRoleId(BasicRole roleId) {
        this.roleId = roleId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BasicModel getModelId() {
        return modelId;
    }

    public void setModelId(BasicModel modelId) {
        this.modelId = modelId;
    }
}
